package com.zrwl.poscloud.xo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zrwl.poscloud.base.entity.AdminRole;
import com.zrwl.poscloud.base.superI.SuperService;
import com.zrwl.poscloud.xo.vo.AdminRoleVO;

import java.util.List;

/**
 * 管理员权限管理 服务类
 *
 * @author 刘思童 AutoGenerate
 * @date 2021-04-22
 */
public interface AdminRoleService extends SuperService<AdminRole> {

    public IPage<AdminRole> getPageList(AdminRoleVO adminRoleVO);

    public List<AdminRole> getAllList(AdminRoleVO adminRoleVO);

    public String add(AdminRoleVO adminRoleVO);

    public String edit(AdminRoleVO adminRoleVO);

    public String delete(AdminRoleVO adminRoleVO);

    public List<AdminRoleVO> getadminRoleList(AdminRoleVO adminRoleVO);

    public String adminRoleSwitch(AdminRoleVO adminRoleVO);

    public List<AdminRole> getmyRoleList(String adminUid);

    public List<AdminRoleVO> getComMerMatchRoleList(String ownerUid);


    public List<AdminRoleVO> getSuperAdminRoleList(AdminRoleVO adminRoleVO);

    public String superAdminRoleSwitch(AdminRoleVO adminRoleVO);

    public List<AdminRoleVO> getMyFullRoleList(String adminUid);
}
